home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
HENSA
/
NETWORK
/
NETLIB.ARC
/
ReadMe1st
Wrap
Text File
|
1996-02-02
|
966b
|
26 lines
NetLib - the programmer's interface to FreeNet.
Read !NetLib.README for more information (including changelog)
The sources are seperated out into NetLibSrc where they can be rebuilt
with the supplied MakeFile if necessary. The !NetLib directory defines
2 paths (NetLib$Path and Internet$Path). The !NetLib directory contains
all the headers files in the usual UNIX places.
Note that these headers are Acorn C compiler specific (assumes 16bit shorts)
Note you cannot use paths in #include statements like: "netlib:netinet/in.h"
I recommend using #include "netinet/in.h" and having -Inetlib: on the command
line to cc.
The headers are subject to change.
NOTE: two functions (close & shutdown) have no prototype in these header
files, since there is a potential library name clash with these functions.
If you want to prototype them, then the prototypes you need are:
extern int close(int /*s*/);
extern int shutdown(int /*s*/, int /*how*/);